package Persistent.factory;

import org.omg.CORBA.PUBLIC_MEMBER;

import Persistant.Dao.ForumContentDAO;
import Persistant.Dao.ForumDAO;
import Persistant.Dao.PhotoDAO;
import Persistant.Dao.ReviewDAO;
import Persistant.Dao.UserDAO;
import Persistent.imple.ForumContentDAOImpl;
import Persistent.imple.ForumDAOImpl;
import Persistent.imple.PhotoDAOImpl;
import Persistent.imple.ReviewDAOImpl;
import Persistent.imple.UserDAOImpl;

public class DAOfactory {
	public static ForumDAO getForumDAO(){
		return new ForumDAOImpl();
	}
	public static ForumContentDAO getForumContentDAO(){
		return new ForumContentDAOImpl();
	}
	public static PhotoDAO getPhotoDAO(){
		return new PhotoDAOImpl();
	}
	public static UserDAO getUserDAO(){
		return new UserDAOImpl();
	}
	public static ReviewDAO getReviewDAO() {
		return new ReviewDAOImpl();
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		

	}

}
